onViewReleased
Called when the child view is no longer being actively dragged. The fling velocity is also supplied, if relevant. The velocity values may be clamped to system minimums or maximums.
Calling code may decide to fling or otherwise release the view to let it settle into place. It should do so using settleCapturedViewAt or flingCapturedView. If the Callback invokes one of these methods, the ViewDragHelper will enter STATE_SETTLING and the view capture will not fully end until it comes to a complete stop. If neither of these methods is invoked before onViewReleased
returns, the view will stop in place and the ViewDragHelper will return to STATE_IDLE.
Parameters
The captured child view now being released
X velocity of the pointer as it left the screen in pixels per second.
Y velocity of the pointer as it left the screen in pixels per second.